|
|
|
|
- Reminder
- Number of files in an archive
- Stored path
<zipArchive variable>.ListFile (Function) In french: <Variable zipArchive>.ListeFichier Returns the list of files found in an archive. Syntax
<Result> = <Archive>.FileList()
<Result>: Character string List of files found in the archive. This list uses the following format:
<Stored path> + CR + <Stored path 2> + CR +... <Stored path> corresponds to the file name and path (if the file path was stored when the file was added into the archive). <Archive>: zipArchive variable Name of a variable of type zipArchive corresponding to the archive to use. Remarks Reminder - Only ZIP, TAR and TGZ (TAR.GZ) archives are available.
Number of files in an archive The number of files found in an archive is returned by zipNbFile. Stored path The table below presents the paths stored in the archive according to: - the access path to the file,
- the stored path section.
The current directory is: "C:\Temp". | | | | | zipAddFile | File location | zipNone | zipDirectory | zipDrive | zipAddFile("Archi", "File.txt") | C:\Temp\File.txt | File.txt | File.txt | File.txt | zipAddFile("Archi", "Data\File.txt") | C:\Temp\Data\File.txt | File.txt | Data\File.txt | Data\File.txt | zipAddFile("Archi", "D:\Data\File.txt") | D:\Data\File.txt | File.txt | Data\File.txt | D:\Data\File.txt | Remark: If the zipDrive constant is used, the WDZ format stores the full path of the file (including the drive letter) while the ZIP format does not store the drive letter.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|